package com.xbongbong.pro.statistic.result.pojo.dto;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 获取图表结果请求参数
 * @author yuqian
 * @date 2019/4/8 19:02
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class ChartResultAggDTO extends ChartResultBaseDTO {

    private static final long serialVersionUID = 6210611520008957283L;

    @NotEmpty(message = "图表id不可为空")
    private List<Long> idIn;

    /**
     * 查询参数
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<JSONObject> search;
}
